Utility.getAbsoluteCoordOfRelativeCoord Method

Convert relative coordinates to absolute coordinates.
 

Parameters

relLeft

Type: Number
Left in percentage.
relTop

Type: Number
Top in percentage.
relativeTo

Type: HTMLElement
The element relative to.

Return Value


Type: object{left,top}
left and top coordinates in an object